﻿namespace DataTablesInteractions
{
    public class DataTablesColumnHeader
    {
        /*
        this class describes a single column for a JQuery DataTable
        it exists only so that when we serialize a list of them into JSON,
        the resulting JSON string matches the format that DataTables wants,
        namely something that looks like this:

        hardCodedColumnNames = [
           { "mDataProp": "firstname" }
         , { "mDataProp": "middlename" }
         , { "mDataProp": "lastname" }
         , { "mDataProp": "dateadded" }
        ];
        */
        public string sTitle;
        public DataTablesColumnHeader(string colheader)
        {
            sTitle = colheader;
        }
    }
}